home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
titans
/
beastboy.swf
/
scripts
/
DefineSprite_230
/
frame_1
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
182b
|
11 lines
onenterframe = function()
{
x = 1 + math.floor(r.energy / r.energymax * 100);
bar.gotoAndStop(x);
if(r.energy <= 0)
{
bar.gotoAndStop(1);
}
};
stop();